export const columnConfigs = [
  // {
  //   prop: "username",
  //   // width: "220",
  //   tipable: true,
  //   label: "序号",
  //   index: 0,
  // },
  {
    prop: "userCode",
    minwidth: "90",
    tipable: true,
    label: "主账号",
    index: 1,
  },
  {
    prop: "terminalIp",
    width: "240",
    tipable: true,
    label: "终端IP",
    index: 1,
  },
  {
    prop: "serviceIp",
    width: "240",
    tipable: true,
    label: "资源IP",
    index: 1,
  },
  {
    prop: "proxyIp",
    width: "240",
    tipable: true,
    label: "代理IP",
    index: 1,
  },
  {
    prop: "contentType",
    width: "258",
    tipable: true,
    label: "资源类型",
    index: 1,
  },
  {
    prop: "protocol",
    width: "240",
    tipable: true,
    label: "协议",
    index: 1,
  },
  {
    prop: "time",
    width: "234",
    tipable: true,
    slot: "time",
    label: "操作时间",
    index: 9,
  },
  {
    prop: "操作",
    width: "100",
    label: "操作",
    slot: "action",
    fixed: "right",
  },
];
export const userInfoCon = [
  {
    label: "主账号",
    value: "userCode",
    width: '50%'
  },
  {
    label: "终端IP地址",
    value: "terminalIp",
    width: '50%'
  },
  {
    label: "终端端口",
    value: "terminalPort",
    width: "100%",
  },
];
export const applyInfoCon = [
  {
    label: "操作时间",
    value: "time",
    slot:'time',
    width: '50%'
  },
  {
    label: "资源类型",
    value: "contentType",
    width: '50%'
  },
  {
    label: "资源IP",
    value: "serviceIp",
    width: '50%'
  },
  {
    label: "资源端口",
    value: "servicePort",
    width: '50%'
  },
  {
    label: "协议",
    value: "protocol",
    width: '50%'
  },
  {
    label: "服务主机名",
    value: "host",
    width: '50%'
  },
  {
    label: "统一资源定位符",
    value: "url",
    slot:'url',
    width: '100%'
  },
  {
    label: "客户端类型",
    value: "userAgent",
    slot:'userAgent',
    width: '100%'
  },
];
export const actionInfoCon = [
  {
    label: "请求头",
    value: "requestHead",
    width: '100%'
  },
  {
    label: "响应头",
    value: "responseHead",
    width: '100%'
  },
  {
    label: "请求体",
    value: "requestBody",
    width: "100%",
  },
  {
    label: "响应体",
    value: "responseBody",
    width: "100%",
  },
];
export const agentInfoCon = [
  {
    label: "代理IP",
    value: "proxyIp",
    width: '50%'
  },
  {
    label: "代理端口",
    value: "proxyPort",
    width: '50%'
  },
];
